package ssm.xml.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import ssm.xml.mapper.PersonMapper;
import ssm.xml.pojo.Person;
import ssm.xml.service.PersonService;

import java.util.List;

@Service
public class PersonServiceImpl implements PersonService {
    @Autowired
    private PersonMapper personMapper;

    @Override
    public List<Person> listAll() {
        return personMapper.listAll();
    }
}